<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test</title>
    <script src=https://cdn.staticfile.org/vue/2.2.2/vue.min.js></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue-resource/1.5.1/vue-resource.min.js"></script>
</head>

<body>
    <button v-on:click="perv">上一页</button>
    <button v-on:click="next">下一页</button>

    <script>
        new Vue({

        })
    </script>
</body>
</html>